type IFormType = "input" | "textarea" | "password" | "select" | "datepicker" | "slot" | "checkboxGroup"|"year"

type IOptions = {
  label: string
  value: string
}

export interface IFormItem {
  field?: string
  label: string
  labelWidth?: string
  rules?: any[]
  placeholder: any
  type: IFormType | 'textarea'
  options?: IOptions[]
  otherOptions?: any,
  lg?: any,
  md?: any,
  rows?:any
}

export interface IForm {
  formItems: IFormItem[]
  labelWidth?: string
  colLayout?: any
  itemStyle?: any
}
